const router = [
        {
          key: "1011",
          path: '/',
          redirect: '/welcome',
        },
        // dashboard
        { key: "1011",
          path: '/welcome',
          name: 'welcome',
          icon: 'home',
          component: './Welcome',
        },
        {
          key: "2011",
          name: 'system',
          icon: 'setting',
          path: '/system',
          routes: [
            {
              key: "2012",
              name: 'user',
              path: '/system/user',
              component: './system/user',
            },
            {
              key: "2013",
              name: 'role',
              path: '/system/role',
              component: './system/role'
            },
            {
              key: "2014",
              name: 'permission',
              path: '/system/permission',
              component: './system/permission'
            },
            {
              key: "2015",
              name: 'dictionary',
              path: '/system/dictionary',
              component: './demo'
            },
            {
              key: "2016",
              name: 'SQLMonitor',
              path: '/system/SQLMonitor',
              component: './demo'
            },
            {
              key: "2017",
              name: 'logger',
              path: '/system/logger',
              component: './demo'
            },
            {
              key: "2018",
              name: 'TimingTask',
              path: '/system/TimingTask',
              component: './demo'
            }
          ],
        }
];

export default router;
